package a.k.a;

import javax.swing.*;
import java.awt.*;
import java.awt.image.ColorModel;
import java.awt.image.ImageObserver;
import java.awt.image.MemoryImageSource;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

public class a
  implements Serializable
{
  public static final long a = 532615968316031794L;
  private static final long serialVersionUID = 532615968316031794L;
  private transient ImageIcon b;
  private transient Image c;
  private ImageObserver d;
  private String e;
  private int f = -1;
  private int g = -1;
  public static boolean h;
  public static boolean i;
  
  public synchronized ImageIcon a()
  {
    if (!i) {
      if (this.b == null) {
        this.b = b();
      }
    }
    return this.b;
  }
  
  private ImageIcon b()
  {
    ImageIcon localImageIcon = new ImageIcon();
    localImageIcon.setDescription(this.e);
    if (!i)
    {
      if (this.c != null) {
        localImageIcon.setImage(this.c);
      }
      localImageIcon.setImageObserver(this.d);
    }
    return localImageIcon;
  }
  
  private void readObject(ObjectInputStream paramObjectInputStream)
    throws ClassNotFoundException, IOException
  {
    paramObjectInputStream.defaultReadObject();
    int j = paramObjectInputStream.readInt();
    int k = paramObjectInputStream.readInt();
    int[] arrayOfInt = (int[])paramObjectInputStream.readObject();
    if (arrayOfInt != null)
    {
      Toolkit localToolkit = Toolkit.getDefaultToolkit();
      ColorModel localColorModel = ColorModel.getRGBdefault();
      this.c = localToolkit.createImage(new MemoryImageSource(j, k, localColorModel, arrayOfInt, 0, j));
    }
  }
  
  private void writeObject(ObjectOutputStream paramObjectOutputStream)
    throws IOException
  {
    throw new IOException("writeObject not supported");
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.k.a.a

 * JD-Core Version:    0.7.0.1

 */